package com.huarui.user.model;

import java.io.Serializable;
import java.util.Date;

import org.ewaf.framework.model.BaseDataObject;

/**
 * 用户登入记录
 * 
 * @author xzz
 * 
 */
public class LoginHistory extends BaseDataObject implements Serializable {
	/**
	 * 
	 */
	private static final long serialVersionUID = -1221398883136632603L;

	/**
	 * 用户登入记录ID
	 */
	private Integer id;

	/**
	 * 用户id
	 */
	private Integer userId;
	/**
	 * 用户登入时间
	 */
	private Date gmtlogin;
	/**
	 * 用户ip地址
	 */
	private String ip;

	/**
	 * 用户姓名
	 */

	private String userName;

	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public Integer getUserId() {
		return userId;
	}

	public void setUserId(Integer userId) {
		this.userId = userId;
	}

	public Date getGmtlogin() {
		return gmtlogin;
	}

	public void setGmtlogin(Date gmtlogin) {
		this.gmtlogin = gmtlogin;
	}

	public String getIp() {
		return ip;
	}

	public void setIp(String ip) {
		this.ip = ip;
	}

	public String getUserName() {
		return userName;
	}

	public void setUserName(String userName) {
		this.userName = userName;
	}

}